Contents | < Browse | Browse >
The EDIT Command
................
Syntax:
EDIT [SALUTATION <string>] [FIRST <string>] [NAME <string>]
[STREET <string>] [CO <string>] [ZIP <string>] [CITY <string>]
[STATE <string>] [COUNTRY <string>] [BIRTHDAY <string>] [PHONE
<string>] [FAX <string>] [EMAIL1 <string>] [EMAIL2 <string>]
[EMAIL3 <string>] [COMMENT <string>] [GROUP1] [GROUP2] [GROUP3]
[GROUP4] [GROUP5] [GROUP6] [GROUP7] [GROUP8] [SELECT] [EXTERNAL
<string>]
Argument template:
SALUTATION/K, FIRST/K, NAME/K, STREET/K, CO/K, ZIP/K, CITY/K,
STATE/K, COUNTRY/K, BIRTHDAY/K, PHONE/K, FAX/K, EMAIL1/K,
EMAIL2/K, EMAIL3/K, COMMENT/K, GROUP1/T, GROUP2/T, GROUP3/T,
GROUP4/T, GROUP5/T, GROUP6/T, GROUP7/T, GROUP8/T, SELECT/T,
EXTERNAL/K
Function:
The current address (if one exists) is modified in the given
fields. The former contents of these fields is deleted. Fields
that are not given as parameter are not changed and keep their
former contents. Please notice that parameters that contain
spaces have to be set into quotes, for example:
EDIT 'COMMENT="A test that contains spaces"'
Please remember to use ' for the outer and " for the inner quotes!
Since version 2.2 of DFA has been completed, the behavior of the
/T modifiers has slightly changed. If you want to switch a /T
parameter on, you have to supply a ON or YES just behind the
according parameter. To switch a parameter off, use the keywords
OFF or NO, e.g.
EDIT GROUP1 ON GROUP2 OFF GROUP8 ON SELECT ON
Argument description:
* SALUTATION <string>
Salutation
* FIRST <string>
First name
* NAME <string>
Name
* STREET <string>
Street
* CO <string>
c/o
* ZIP <string>
Postal code
* CITY <string>
City
* STATE <string>
State
* COUNTRY <string>
Country
* BIRTHDAY <string>
Birthday
* PHONE <string>
Phone number
* FAX <string>
Telefax number
* EMAIL1 <string>
Email address No. 1
* EMAIL2 <string>
Email address No. 2
* EMAIL3 <string>
Email address No. 3
* COMMENT <string>
Comment
* GROUP1
Group No. 1
* GROUP2
Group No. 2
* GROUP3
Group No. 3
* GROUP4
Group No. 4
* GROUP5
Group No. 5
* GROUP6
Group No. 6
* GROUP7
Group No. 7
* GROUP8
Group No. 8
* SELECT
Selection state, i.e. ON or OFF.
* EXTERNAL <string>
The filename of the external file.
Results:
The following error codes can be returned in RC2:
* RXERR_NODIR
* RXERR_NOFILE
* RXERR_NOCURRENT
* RXERR_ENVCHANGED
* RXERR_NONETWORKEDIT